package com.csnf.entity;

public class Books {
    private Integer book_id;
    private String book_name;
    private Integer book_year;
    private Integer author_id;

    private Authors authors;

    public Integer getBook_id() {
        return book_id;
    }

    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public Integer getBook_year() {
        return book_year;
    }

    public void setBook_year(Integer book_year) {
        this.book_year = book_year;
    }

    public Integer getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(Integer author_id) {
        this.author_id = author_id;
    }

    public Authors getAuthors() {
        return authors;
    }

    public void setAuthors(Authors authors) {
        this.authors = authors;
    }

    public Books() {

    }

    public Books(Integer book_id, String book_name, Integer book_year, Integer author_id, Authors authors) {
        this.book_id = book_id;
        this.book_name = book_name;
        this.book_year = book_year;
        this.author_id = author_id;
        this.authors = authors;
    }
}
